package data;

	import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.sql.DriverManager;
import java.sql.SQLException;
	
	// Notice, do not import com.mysql.jdbc.*
	// or you will have problems!
	public class TestReine {
	    public static void main(String[] args) {
	    	 Connection conn = null;
	        try {
	            // The newInstance() call is a work around for some
	            // broken Java implementations
	            Class.forName("com.mysql.jdbc.Driver").newInstance();
	        } catch (Exception ex) {
         	
	        }
	    }
	    {
	   
	   
	    try {
	  Connection conn =
	           DriverManager.getConnection("jdbc:mysql://localhost/reine?" + "user=reine&password=tjo");
	        // Do something with the Connection
	    	System.out.println("JAVA FUNGERAR");
	      
	    } catch (SQLException ex) {
	        // handle any errors
	   
	    }
	}
	
}
